package hqu.cst.xah.onlinemaill.mapper;

import hqu.cst.xah.onlinemaill.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProductMapper {

    @Select("select * from products")
    List<Product> selectList(Object o);

    @Select("select * from products where id=#{id}")
    Product selectById(Integer id);
}
